package com.exigenservices.practice.roadcompanion.server.dao;


import com.exigenservices.practice.roadcompanion.server.entity.User;
import com.exigenservices.practice.roadcompanion.server.entity.UserRoutes;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: Konstantin
 * Date: 10.07.13
 * Time: 16:37
 * To change this template use File | Settings | File Templates.
 */
public interface UserRoutesDAO {

    public void createUserRoute(UserRoutes userRoute) throws Exception;

    public void updateUserRoute(UserRoutes userRoute) throws Exception;

    public void deleteUserRoute(UserRoutes userRoute) throws Exception;

    public List<UserRoutes> getRoute(User user) throws Exception;

}
